<?php 
if(!function_exists('get_sponsors_imgs')){
	function get_sponsors_imgs(){
		$imgs = array();
                
                $CI = get_instance();
                $sponsors = $CI->sponsors_model->find_all();
                
                if($sponsors != false):
                    foreach($sponsors as $s):
                        $imgs[] = $s->logo;
                    endforeach;
                endif;
                
                return $imgs;
	}
}
?>

